package com.victualler.product.customer.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.victualler.core.base.dao.BaseDetailDao;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author Guoshichang
 * @since 14:53 on 2018/10/3.
 */
@Entity
@Table(name="customer_address")
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler" })
public class CustomerAddressDao extends BaseDetailDao implements Serializable {

    //名称
    private String name;

    //电话
    private String phone;

    //地址
    private String address;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
